<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <script src="../lib/js/vue.js"></script>
  <title>Document</title>
</head>
<body>
  <div id="root">
    <h1>{{message}}</h1>
    <h1>我叫{{name}}</h1>
    <h2>你好老师{{teacher}}</h2>
    <h3>电影</h3>
    <ul>
      <li v-for="ggg in movies">{{ggg}}</li>
    </ul>
  </div>
  <script type="text/javascript">
     const vm=new Vue({
        el:'#root',
        data:function() {
          return{
            message:'hello',
            teacher:'张三',
            name:'里斯',
            movies:['001','002','003','004']
          }
        }
      })
    </script>
</body>
</html>